//
//  ATOM.h
//  TuiTe
//
//  Created by 张 霄鹤 on 10-4-23.
//  Copyright 2010 xhzhang. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "Element.h"
#import "Entry.h"


@interface ATOM : NSObject {
	NSString *title;
	NSString *refresh;
	NSString *next;
	NSMutableArray *entries;
}

@property(nonatomic, retain) NSString *title;
@property(nonatomic, retain) NSString *refresh;
@property(nonatomic, retain) NSString *next;

- (void)addEntry:(Entry *)en;

- (NSInteger)entriesCount;

- (Entry *)entryAtIndex:(NSInteger)index;

- (void)clear;

- (void)parse:(Element *)el;

@end
